const http = require('http')

const server = http.createServer((req, res) => {
    // 打印出请求的url
    console.log(req.url);
    //模拟处理代理请求
    res.end('hello proxy')

})
server.listen(3001, () => {
    console.log('server is running at http://192.168.96.40:3001')
})

